package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品表 zh_good
 * 
 * @author ruoyi
 * @date 2019-05-16
 */
public class ZhGood extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 名称 */
	private String name;
	/** 游戏区服id */
	private Integer areaId;
	/** 库存 */
	private Integer stock;
	/** 卖家用户名 */
	private String salerUsername;
	/** 价格 */
	private BigDecimal price;
	/** 是否置顶 */
	private Integer ifTop;
	/** 删除标志 */
	private Integer delFlag;
	/** 游戏id */
	private Integer gameId;
	/** 是否下架 */
	private Integer ifSuspend;
	/** 图片 */
	private String image;
	/** 站点id */
	private Integer deptId;
	/** 创建时间 */
	private Date gmtCreate;
	/** 更新时间 */
	private Date gmtModified;
	/** 备注 */
	private String remark;

	// 额外属性
	/**
	 * 站点名称
	 */
	private String deptName;

	/**
	 * 所属游戏名称
	 */
	private String gameName;

	/**
	 * 区服名称
	 */
	private String gameAreaName;

	/**
	 * 父区服名称
	 */
	private String parentAreaName;



	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setAreaId(Integer areaId) 
	{
		this.areaId = areaId;
	}

	public Integer getAreaId() 
	{
		return areaId;
	}
	public void setStock(Integer stock) 
	{
		this.stock = stock;
	}

	public Integer getStock() 
	{
		return stock;
	}
	public void setSalerUsername(String salerUsername) 
	{
		this.salerUsername = salerUsername;
	}

	public String getSalerUsername() 
	{
		return salerUsername;
	}
	public void setPrice(BigDecimal price)
	{
		this.price = price;
	}

	public BigDecimal getPrice() 
	{
		return price;
	}
	public void setIfTop(Integer ifTop) 
	{
		this.ifTop = ifTop;
	}

	public Integer getIfTop() 
	{
		return ifTop;
	}
	public void setDelFlag(Integer delFlag) 
	{
		this.delFlag = delFlag;
	}

	public Integer getDelFlag() 
	{
		return delFlag;
	}
	public void setGameId(Integer gameId) 
	{
		this.gameId = gameId;
	}

	public Integer getGameId() 
	{
		return gameId;
	}
	public void setIfSuspend(Integer ifSuspend) 
	{
		this.ifSuspend = ifSuspend;
	}

	public Integer getIfSuspend() 
	{
		return ifSuspend;
	}
	public void setImage(String image) 
	{
		this.image = image;
	}

	public String getImage() 
	{
		return image;
	}
	public void setDeptId(Integer deptId) 
	{
		this.deptId = deptId;
	}

	public Integer getDeptId() 
	{
		return deptId;
	}
	public void setGmtCreate(Date gmtCreate) 
	{
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtCreate() 
	{
		return gmtCreate;
	}
	public void setGmtModified(Date gmtModified) 
	{
		this.gmtModified = gmtModified;
	}

	public Date getGmtModified() 
	{
		return gmtModified;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public String getGameName() {
		return gameName;
	}

	public void setGameName(String gameName) {
		this.gameName = gameName;
	}

	public String getParentAreaName() {
		return parentAreaName;
	}

	public void setParentAreaName(String parentAreaName) {
		this.parentAreaName = parentAreaName;
	}

	public String getGameAreaName() {
		return gameAreaName;
	}

	public void setGameAreaName(String gameAreaName) {
		this.gameAreaName = gameAreaName;
	}
}
